namespace HouseAgencySite.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table("VmHouseDetailInfo")]
    public partial class VmHouseDetailInfo
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(36)]
        public string Guid { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(64)]
        public string Title { get; set; }

        [StringLength(128)]
        public string SubTitle { get; set; }

        [Key]
        [Column(Order = 2)]
        public decimal Price { get; set; }

        [Key]
        [Column(Order = 3)]
        public decimal MianJi { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(36)]
        public string LouCeng { get; set; }

        public int? HuXing { get; set; }

        [Key]
        [Column(Order = 5, TypeName = "ntext")]
        public string Description { get; set; }

        [StringLength(512)]
        public string ZhaiYao { get; set; }

        [Key]
        [Column(Order = 6)]
        [StringLength(36)]
        public string AreaID { get; set; }

        [StringLength(4000)]
        public string Around { get; set; }

        [StringLength(512)]
        public string JiaoTong { get; set; }

        [StringLength(256)]
        public string AddressDetail { get; set; }

        [StringLength(512)]
        public string MapUrl { get; set; }

        [Key]
        [Column(Order = 7)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int HouseType { get; set; }

        [Key]
        [Column(Order = 8)]
        public DateTime CreateTime { get; set; }

        [Key]
        [Column(Order = 9)]
        [StringLength(36)]
        public string CreateUserID { get; set; }

        [Key]
        [Column(Order = 10)]
        [StringLength(36)]
        public string CreateUserName { get; set; }

        [Key]
        [Column(Order = 11)]
        public DateTime ModifyTime { get; set; }

        [Key]
        [Column(Order = 12)]
        [StringLength(36)]
        public string ModifyUserID { get; set; }

        [Key]
        [Column(Order = 13)]
        [StringLength(36)]
        public string ModifyUserName { get; set; }

        [Key]
        [Column(Order = 14)]
        public bool IsDelete { get; set; }

        [Key]
        [Column(Order = 15)]
        [StringLength(36)]
        public string Expr1 { get; set; }

        [Key]
        [Column(Order = 16)]
        [StringLength(256)]
        public string Url { get; set; }

        [StringLength(512)]
        public string Expr2 { get; set; }

        [Key]
        [Column(Order = 17)]
        public bool IsCover { get; set; }
    }
}
